<template>
  <h1>呵呵，我是my-inject</h1>
  <span>{{count}}</span>
</template>

<script setup lang="ts">
import { inject } from 'vue'
const count = inject('myname')
</script>

<style>

</style>